package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.User;

/**
 * 用户服务接口
 */
public interface UserService {

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);


    public User findByUsername(String username);

    void add(Integer[] roleIds, User user);

    User findById(Integer userId);

    void update(Integer[] roleIds, User user);

    void delete(Integer userId);
}
